import { Cache } from "../../../cache/Cache";
type int = number;
//class MyArenaInfo
    
    export  class MyArenaInfo
    {
        

        public get winPer(): int
        {
            if (this.winNum == 0) 
            {
                return 0;
            }
            return int(100 * this.winNum / (this.winNum + this.loseNum));
        }

        public get name(): string
        {
            return Cache.instance.role.entityInfo.name;
        }

        public get totleNum(): int
        {
            return this.winNum + this.loseNum;
        }

        public /* var */mark: int;

        public /* var */winNum: int;

        public /* var */loseNum: int;

        public /* var */battleNum: int;

        public /* var */rank: int;

        public /* var */lastArenaMoney: int;
    }
